﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Adalbertus.BudgetPlanner.Domain;
using FluentNHibernate.Mapping;

namespace Adalbertus.BudgetPlanner.Infrastructure.Mapping
{
    public abstract class EntityMapBase<T> : ClassMap<T> where T:EntityBase
    {
        protected EntityMapBase()
        {
            Id(x => x.Id);

            Map(x => x.Created);
            Map(x => x.Modified);
        }
    }
}
